package com.autonavi.collapse.task;

import com.autonavi.collapse.task.model.TaskConfig;
import com.autonavi.collapse.task.model.TaskContext;
import com.autonavi.collapse.task.model.TaskResult;

public interface TaskExecutor {

    TaskResult process(TaskContext context);

    void interrupt() throws InterruptedException;

    TaskConfig getTaskConfig();

}
